package com.example.paopao.consumer.homepage.dao.persist.repository.impl;

import com.example.paopao.consumer.homepage.dao.persist.mapper.IndexMapper;
import com.example.paopao.consumer.homepage.dao.persist.repository.IIndexRepository;
import com.example.paopao.consumer.homepage.pojo.vo.HiringVO;
import com.example.paopao.consumer.homepage.pojo.vo.IndustryVO;
import com.example.paopao.consumer.homepage.pojo.vo.SearchCountVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class IndexRepository implements IIndexRepository {

    @Autowired
    private IndexMapper indexMapper;

    @Override
    public List<SearchCountVO> listSearchCount() {
        return indexMapper.listSearchCount();
    }

    @Override
    public List<HiringVO> listHiringVO() {
        return indexMapper.listHiringVO();
    }

    @Override
    public List<IndustryVO> listIndustry() {
        return indexMapper.listIndustry();
    }
}
